package af.fx.base.lesson2;

import javafx.application.Application;
import javafx.stage.Stage;

/**
 * @Description
 * @Author AF
 * @Version 1.0.0
 * @Date 2024/1/24
 */
public class Main4 extends Application {

    public static void main(String[] args) {
        System.out.println(Thread.currentThread().getName()  + "----main方法");
        launch(args);
    }


    @Override
    public void init() throws Exception {
        System.out.println(Thread.currentThread().getName() + "----init方法");
        super.init();
    }


    @Override
    public void start(Stage primaryStage) {
        System.out.println(Thread.currentThread().getName() +"----start方法");
        primaryStage.show();
    }


    @Override
    public void stop() throws Exception {
        System.out.println(Thread.currentThread().getName() +"----stop方法");
        super.stop();
    }
}
